/*
 * Copyright (C) 2016 yixun All Rights Reserved.
 * 
 * Customer.java
 */
package com.emm.yixun.common.model;
import java.io.Serializable;

/**
 * [文件名称]<br>
 * Customer.java<br>
 * <br>
 * [文件描述]<br>
 * 客户信息表 pojo bean<br>
 * <br>
 * [修改记录]<br>
 * 2016-05-16 11:03:45 创建<br>
 * @version 1.00
 */
public class CommonModel implements Serializable{
    /**
	 * 序列化UID
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 权限过滤用户
	 * 名字不用userId,是由于此处只做权限过滤用.
	 * 使用userId,有此字段的表,会将他当成条件进行查询
	 */
	private Long permissionUserId;
	/**
	 * 权限过滤资源名称
	 */
	private String resourcesName;
	/**
	 * 权限过滤资源
	 */
	private String resourcesCode;
	/**
	 * 权限过滤表别名,可传null
	 * 默认为t
	 */
	private String prefix;
	/**
	 * 权限过滤字段,可传null
	 * 个人权限: 默认为 user_code
	 * 销售组权限: 默认为 access_code
	 */
	private String columnName;
	/**
	 * 数据权限
	 */
	private String dataPermission;
	
	public Long getPermissionUserId() {
		return permissionUserId;
	}
	public void setPermissionUserId(Long permissionUserId) {
		this.permissionUserId = permissionUserId;
	}
	public String getResourcesName() {
		return resourcesName;
	}
	public void setResourcesName(String resourcesName) {
		this.resourcesName = resourcesName;
	}
	public String getResourcesCode() {
		return resourcesCode;
	}
	public void setResourcesCode(String resourcesCode) {
		this.resourcesCode = resourcesCode;
	}
	public String getPrefix() {
		return prefix;
	}
	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}
	public String getColumnName() {
		return columnName;
	}
	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}
	public String getDataPermission() {
		return dataPermission;
	}
	public void setDataPermission(String dataPermission) {
		this.dataPermission = dataPermission;
	}
	
}
